<include file="Public:header" />
<!--图片水印设置-->
<div class="subnav">
    <h1 class="title_2 line_x">图片水印设置</h1>
</div>
<div class="pad_lr_10">
	<form id="info_form" action="{:U('Setting/watermark')}" method="post" enctype="multipart/form-data">
	<table width="100%" class="table_form">
        <tr>
            <th width="150">是否开启水印功能 :</th>
            <td>
                <label class="mr10"><input name="WATER_FUNTION" type="radio" class="J_change_status" <if condition="$info['WATER_FUNTION'] eq '1'">checked="checked"</if> value="1" name="setting[reg_status]"> {:L('open')}</label>
                <label><input name="WATER_FUNTION" type="radio" class="J_change_status" <if condition="$info['WATER_FUNTION'] eq '2'">checked="checked"</if> value="2" name="setting[reg_status]"> {:L('close')}</label>
            </td>
        </tr>
        <tr>
            <th width="150">选择水印的文件类型 :</th>
            <td>
                <label class="mr10"><input type="radio" name="WATER_FILE_TYPE" class="J_change_status" <if condition="$info['WATER_FILE_TYPE'] eq '1'">checked="checked"</if> value="1" name="setting[reg_status]"> 图片</label>
                <label><input type="radio" name="WATER_FILE_TYPE" class="J_change_status" <if condition="$info['WATER_FILE_TYPE'] eq '2'">checked="checked"</if> value="2" name="setting[reg_status]"> 文字</label>
            </td>
        </tr>
		<tr>
            <th>水印图片 :</th>
            <td><notempty name="info['WATER_IMAGE']"><img src="{$info['WATER_IMAGE']}" /></notempty><br />
                <input type="text" name="WATER_IMAGE" class="input-text" value="{$info['WATER_IMAGE']}" size="40"/>
                &nbsp;&nbsp;所在位置:./data/water/</td>
        </tr>

		<tr>
            <th>水印文字 :</th>
            <td><input type="text" name="WATER_TEXT" class="input-text" value="{$info.WATER_TEXT}" size="40" /></td>
        </tr>
		<tr>
            <th>水印透明度 :</th>
            <td><input type="text" name="WATER_ALPHA" class="input-text" value="{$info.WATER_ALPHA}" size="30" /></td>
        </tr>
		<tr>
            <th>水印文字旋转角度 :</th>
            <td><input type="text" name="WATER_ANGLE" class="input-text" value="{$info.WATER_ANGLE}" size="30" /></td>
        </tr>
		<tr>
            <th>水印文字大小 :</th>
            <td><input type="text" name="WATER_FONTSIZE" class="input-text" value="{$info.WATER_FONTSIZE}" size="30" /></td>
        </tr>
				<tr>
            <th>水印文字颜色 :</th>
            <td><input type="text" name="WATER_FONTCOLOR" id="J_color" class="input-text" value="{$info.WATER_FONTCOLOR}" size="30" />&nbsp;<a href="javascript:;" class="color_picker_btn"><img class="J_color_picker" data-it="J_title" data-ic="J_color" src="__IMG__/color.png"></a></td>
        </tr>
		<tr>
            <th>水印位置 :</th>
            <td>
			<table width="300" border="0">
			  <tr>
					<td><label><input name="WATER_POS" type="radio" value="1" 
					<if condition="$info['WATER_POS'] eq '1'">checked='checked'</if>
					/>顶部居左</label></td>
					<td><label><input name="WATER_POS" type="radio" value="2" 
					<if condition="$info['WATER_POS'] eq '2'">checked='checked'</if>
					/>顶部居中</label></td>
					<td><label><input name="WATER_POS" type="radio" value="3" 
					<if condition="$info['WATER_POS'] eq '3'">checked='checked'</if>
					/>顶部居右</label></td>
				  </tr>
				  <tr>
					<td><label><input name="WATER_POS" type="radio" value="4" 
					<if condition="$info['WATER_POS'] eq '4'">checked='checked'</if>
					/>左边居中</label></td>
					<td><label><input name="WATER_POS" type="radio" value="5" 
					<if condition="$info['WATER_POS'] eq '5'">checked='checked'</if>
					/>图片中心</label></td>
					<td><label><input name="WATER_POS" type="radio" value="6" 
					<if condition="$info['WATER_POS'] eq '6'">checked='checked'</if>
					/>右边居中</label></td>
				  </tr>
				  <tr>
					<td><label><input name="WATER_POS" type="radio" value="7" 
					<if condition="$info['WATER_POS'] eq '7'">checked='checked'</if>
					/>底部居左</label></td>
					<td><label><input name="WATER_POS" type="radio" value="8" 
					<if condition="$info['WATER_POS'] eq '8'">checked='checked'</if>
					/>底部居中</label></td>
					<td><label><input name="WATER_POS" type="radio" value="9" 
					<if condition="$info['WATER_POS'] eq '9'">checked='checked'</if>
					/>底部居右</label></td>
				  </tr>
			</table>
			</td>
        </tr>
        <tr>
        	<th></th>
        	<td>
                <input type="hidden" name="menuid"  value="{$menuid}"/>
                <input type="submit" class="btn btn_submit" value="{:L('submit')}"/>
            </td>
    	</tr>
	</table>
	</form>
</div>
<include file="Public:footer" />
<script src="__JS__/jquery/plugins/colorpicker.js"></script>
<script type="text/javascript">
	$('.J_color_picker').colorpicker();

</script>
</body>
</html>